// 
@select-prefix: ~"@{prefix}select";


.@{select-prefix} {
    display: inline-block;
    position: relative;
    width: 150px;
    border: 1px solid #ccc;
    border-radius: 5px;
    vertical-align: middle;
}
.@{select-prefix}.large{
    height: 36px;
}
.@{select-prefix}.large .select{
    line-height: 38px;
}
.@{select-prefix}.large .select i{
    margin-top: -5px;
}
.@{select-prefix}.small{
    height: 22px;
}
.@{select-prefix}.small .select{
    line-height: 24px;
}
.@{select-prefix}.small .select i{
    margin-top: -12px;
}
.@{select-prefix} .select {
    width: auto;
    height: 30px;
    line-height: 32px;
    padding-left: 10px;
    padding-right: 15px;
    color: #333;
    position: relative;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;    
}
.@{select-prefix} .select i {
    font-size: 18px;
    position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -9px;
    color: #80848f;
}
.@{select-prefix} .select.hover {
    border-color: #aaa;
}
.@{select-prefix} .options {
    position: absolute;
    top: 32px;
    right: 0px;
    left: 0px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    z-index: 999999;
    display: none;
}
.@{select-prefix} .options.show {
    display: block;
}
.@{select-prefix} .options.dropdown {
    animation: dropdown 0.5s 1;
    animation-fill-mode: both;
}
@keyframes dropdown{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.@{select-prefix} .options.dropup {
    animation: dropup 0.5s 1;
    animation-fill-mode: both;
}
@keyframes dropup{
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.@{select-prefix} .options.top {
    top: auto;
    bottom: 32px;
}
.@{select-prefix} .options.maxheight {
    max-height:180px;
    overflow: scroll;
    overflow-x:hidden;
}
// .@{select-prefix} .options .choose {
//     color: #fff;
//     background-color: #0af
// }